import Layout from '@/layout'

export default [
  {
    path: '/user/info/:userId',
    hidden: true,
    component: Layout,
    children: [{
      path: '/user/info/:userId',
      name: 'UserInfo',
      component: () => import('@/pages/user/info/index'),
      meta: { title: 'user info' }
    }]
  }, {
    path: '/user/center',
    hidden: true,
    component: Layout,
    children: [{
      path: '/user/center',
      name: 'UserCenter',
      component: () => import('@/pages/user/center/index'),
      meta: { title: 'user center', icon: 'el-icon-s-flag' }
    }]
  }, {
    path: '/user/done',
    hidden: true,
    component: Layout,
    children: [{
      path: '/user/done',
      name: 'UserDone',
      component: () => import('@/pages/user/done/index'),
      meta: { title: 'userDone' }
    }]
  },
  {
    path: '/system/user/login-log',
    hidden: true,
    component: Layout,
    children: [{
      path: '/system/user/login-log',
      name: 'AllUserLoginLog',
      component: () => import('@/pages/system/user/login-log/index'),
      meta: { title: 'all login log' }
    }]
  },
  {
    path: '/user/login-log',
    hidden: true,
    component: Layout,
    children: [{
      path: '/user/login-log',
      name: 'UserLoginLog',
      component: () => import('@/pages/user/login-log/index'),
      meta: { title: 'login log' }
    }]
  },
  {
    path: '/user/third-party',
    hidden: true,
    component: Layout,
    children: [{
      path: '/user/third-party',
      name: 'ThirdParty',
      component: () => import('@/pages/user/third-party/index'),
      meta: { title: 'thirdParty' }
    }]

  }, {
    path: '/company/dept',
    hidden: true,
    component: Layout,
    children: [
      {
        path: '/company/dept',
        name: 'CompanyDept',
        component: () => import('@/pages/company/dept/index'),
        meta: { title: 'company dept' }
      }
    ]
  },
  {
    path: '/company/list',
    hidden: true,
    component: Layout,
    children: [
      {
        path: '/company/list',
        name: 'CompanyList',
        component: () => import('@/pages/company/list/index'),
        meta: { title: 'company list' }
      }
    ]
  },
  {
    path: '/company/child',
    hidden: true,
    component: Layout,
    children: [
      {
        path: '/company/child',
        name: 'ChildCompany',
        component: () => import('@/pages/company/child/index'),
        meta: { title: 'child company' }
      }
    ]
  }, {
    path: '/company/user/:companyId',
    hidden: true,
    component: Layout,
    children: [
      {
        path: '/company/user/:companyId',
        name: 'CompanyUser',
        component: () => import('@/pages/company/user/index'),
        meta: { title: 'company user' }
      }
    ]
  }, {
    path: '/company/secret/:companyId',
    hidden: true,
    component: Layout,
    children: [
      {
        path: '/company/secret/:companyId',
        name: 'secret',
        component: () => import('@/pages/company/secret'),
        meta: { title: 'secret' }
      }
    ]
  }
]
